import { IForm } from '@/base-ui/form'

export const modalConfig: IForm = {
  formItems: [
    {
      field: 'name',
      type: 'input',
      label: '货物名',
      placeholder: '请输入货物名'
    },
    {
      field: 'shop_classify_id',
      type: 'select',
      label: '货栏名',
      placeholder: '请输入货栏名',
      options: []
    },
    {
      field: 'amount',
      type: 'input',
      label: '库存',
      placeholder: '请输入库存'
    },
    {
      field: 'old_price',
      type: 'input',
      label: '原价',
      placeholder: '请输入原价'
    },
    {
      field: 'preferential_price',
      type: 'input',
      label: '现价',
      placeholder: '请输入现价'
    },
    {
      field: 'avatar',
      type: 'upload',
      label: '图片',
      placeholder: '请上传货物图片',
      isHidden: false
    }
  ],
  colLayout: { span: 24 },
  itemStyle: {}
}
